﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DHQGHN.DAL.Models.Admin
{
    public class GroupInRoleModel
    {
        #region Property of Group in Role Model
        public int GroupInRoleID { get; set; }
        public int GroupID { get; set; }
        public int RoleID { get; set; }
        public string Descriptions { get; set; }
        public int IsActive { get; set; }
        public int DateCreated { get; set; }
        public int DateModified { get; set; }
        public int RecordCount { get; set; }
        public string RoleName { get; set; }
        public string GroupName { get; set; }
        public string GroupCode { get; set; }
        public int AppID { get; set; }
        public string AppName { get; set; }
        #endregion

        #region field list from database
        public const string FIELD_APP_NAME = "AppName";
        public const string FIELD_GROUP_IN_ROLE_ID = "GroupInRoleID";
        public const string FIELD_GROUP_ID = "GroupID";
        public const string FIELD_ROLE_ID = "RoleId";
        public const string FIELD_DESCRIPTIONS = "Descriptions";
        public const string FIELD_IS_ACTIVE = "IsActive";
        public const string FIELD_DATE_CREATED = "DateCreated";
        public const string FIELD_DATE_MODIFIED = "DateModified";
        public const string FIELD_RECORD_COUNT = "RecordCount";
        public const string FIELD_ROLE_NAME = "RoleName";
        public const string FIELD_GROUP_NAME = "GroupName";
        public const string FIELD_GROUP_CODE = "GroupCode";
        #endregion
    }
}
